<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BTcpSocket</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BTcpSocket">
			<h1>BTcpSocket</h1>
			<p>继承自<a href="BSocket.html">BSocket</a></p>
			<p id="resume"><a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BTcpSocket()">BTcpSocket</a>();</td></tr>
				<tr><td align="right"></td><td><a href="#~BTcpSocket()">~BTcpSocket</a>();</td></tr>
				<tr><td align="right">virtual Type </td><td><a href="#type()">type</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#bind(const BString&, int)">bind</a>(const BString& addr, int port);</td></tr>
				<tr><td align="right">bool </td><td><a href="#connectServer(const BString&)">connectServer</a>(const BString& address);</td></tr>
				<tr><td align="right">bool </td><td><a href="#connectServer(const BString&, int)">connectServer</a>(const BString& ip, int port);</td></tr>
				<tr><td align="right">int </td><td><a href="#send(const char*, int)">send</a>(const char* data, int length);</td></tr>
				<tr><td align="right">int </td><td><a href="#recv(char*, int)">recv</a>(char* data, int length);</td></tr>
				<tr><td align="right">int </td><td><a href="#send(const BByteArray&)">send</a>(const BByteArray& bytes);</td></tr>
				<tr><td align="right">int </td><td><a href="#recv(BByteArray&)">recv</a>(BByteArray& bytes);</td></tr>
				<tr><td align="right">int </td><td><a href="#send(const BBuffer&)">send</a>(const BBuffer& buffer);</td></tr>
				<tr><td align="right">int </td><td><a href="#recv(BBuffer&)">recv</a>(BBuffer& buffer);</td></tr>
				<tr><td align="right">int </td><td><a href="#send(const BString&)">send</a>(const BString& text);</td></tr>
				<tr><td align="right">int </td><td><a href="#recv(BString&)">recv</a>(BString& text);</td></tr>
				<tr><td align="right">const BString& </td><td><a href="#errorText()">errorText</a>() const;</td></tr>
				<tr><td align="right">inline int </td><td><a href="#send(const T&)">send</a>(const T& data);</td></tr>
				<tr><td align="right">inline int </td><td><a href="#recv(T&)">recv</a>(T& data);</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BTcpSocket()">
				<h3>BTcpSocket();</h3>
			</div>
			<div id="~BTcpSocket()">
				<h3>~BTcpSocket();</h3>
			</div>
			<div id="type()">
				<h3>virtual Type type() const;</h3>
			</div>
			<div id="bind(const BString&, int)">
				<h3>bool bind(const BString&amp; addr, int port);</h3>
			</div>
			<div id="connectServer(const BString&)">
				<h3>bool connectServer(const BString&amp; address);</h3>
			</div>
			<div id="connectServer(const BString&, int)">
				<h3>bool connectServer(const BString&amp; ip, int port);</h3>
			</div>
			<div id="send(const char*, int)">
				<h3>int send(const char* data, int length);</h3>
			</div>
			<div id="recv(char*, int)">
				<h3>int recv(char* data, int length);</h3>
			</div>
			<div id="send(const BByteArray&)">
				<h3>int send(const BByteArray&amp; bytes);</h3>
			</div>
			<div id="recv(BByteArray&)">
				<h3>int recv(BByteArray&amp; bytes);</h3>
			</div>
			<div id="send(const BBuffer&)">
				<h3>int send(const BBuffer&amp; buffer);</h3>
			</div>
			<div id="recv(BBuffer&)">
				<h3>int recv(BBuffer&amp; buffer);</h3>
			</div>
			<div id="send(const BString&)">
				<h3>int send(const BString&amp; text);</h3>
			</div>
			<div id="recv(BString&)">
				<h3>int recv(BString&amp; text);</h3>
			</div>
			<div id="errorText()">
				<h3>const BString&amp; errorText() const;</h3>
			</div>
			<div id="send(const T&)">
				<h3>inline int send(const T&amp; data);</h3>
			</div>
			<div id="recv(T&)">
				<h3>inline int recv(T&amp; data);</h3>
			</div>
		</div>
	</body>
</html>